<?
require("config.php");

if ($p=="nlp_topic_detail") {
	
	
$table = "med_skill_topic";

$field = array(

	"id",
	"criteria",
	"date",
	"subject", 
	"author",
	"details",

);


$exp = " AND id = $id Limit 1";
$r1 = limitQuery($table,$field,$exp);

	$Criteria=$r1[0][1];
	$Date=$r1[0][2];
	$Subject=$r1[0][3];
	$Author=$r1[0][4];
	$Details=$r1[0][5];

	$Content = $Details . "<BR><BR><div align=right><i>" . $lang['by'] . " " . $Author . "<i></div>";



}


?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>
<?=$Subject?>
</title>

</head>
<body onLoad="window.print();">

<table border=0 width=640 cellpadding=0 cellspacing=1>
  <tr>
    <td><img src="../images/logo1.gif" width="162" height="108"></td>
    <td align="right"><font face="arial" size="2">
      <?=date("Y-m-d H:i")?>
      &nbsp;&nbsp;&nbsp;</font></td>
  </tr>
</table>
<table border=0 width=640 cellpadding=0 cellspacing=1 bgcolor="#000000">
  <tr>
    <td><table border=0 width=640 cellpadding=20 cellspacing=1 bgcolor="#FFFFFF">
        <tr>
          <td><font face="Times New Roman" size="3">
            <p align = "center"><b>
              <?=$Subject?>
              </b></p>
            <p align = "center">(
              <?=outDate($Date)?>
              )</p>
            <table>
              <tr>
                <td valign="top"><?=$Content?>
                </td>
              </tr>
            </table>
            <p>&nbsp;</p>
            </font> </td>
        </tr>
      </table></td>
  </tr>
</table>
<table border=0 width=640 cellpadding=20 cellspacing=1 bgcolor="#FFFFFF">
  <tr>
    <td><br>
      <p align="center"> <a href="http://www.acuityworld.com" target="_blank"><font face="arial">http://www.acuityworld.com</font></a> </p></td>
  </tr>
</table>
</body>
</html>
